@import "common";
button, div {
  outline: none;
}

.login {
  position: relative;
  a{
    color:@color_black;
  }
  .main {
    width: 480px;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    .tabBody {
      margin-bottom: 10px;
      .tabMain {
        bottom: -1px;
        position: relative;
        .tab {
          width: 25%;
          height: 36px;
          line-height: 36px;
          float: left;
          text-align: center;
          background-color: @color_f5;
          margin-right: 5px;
          border: 1px solid @color_d1;
          cursor: pointer;
          border-radius: 4px 4px 0 0;
        }
        .tabActive {
          color: @color_blue;
          background-color: @color_white;
          border-bottom: 1px solid @color_trans;
        }
      }
    }
    .mainCard {
      width: 480px;
      margin: -10px auto 0;
      padding: 30px 0px;
      font-size: 14px;
      border: 1px solid @color_d1;
      border-radius: 0 4px 4px 4px;
      background-color: @color_white;
      overflow: hidden;
      box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .12), 0 0 6px 0 rgba(0, 0, 0, .04);
      .btn {
        width: 50%;
        margin: 0 auto;
      }
      .btnLogin {
        color: @color_white;
        background-color: @color_blue;
        border-color: @color_blue !important;
      }

      .btnRegister {
        color: @color_black;
        background-color: @color_dd;
        border-color: @color_dd !important;
      }
      .btn > button {
        width: 100%;
        height: 36px;
        outline: none;
        cursor: pointer;
        display: inline-block;
        margin-top: 10%;
        margin-bottom: 0;
        font-weight: 400;
        text-align: center;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        background-image: none;
        border: 1px solid @color_trans;
        white-space: nowrap;
        line-height: 1.5;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        padding: 6px 15px;
        font-size: 14px;
        border-radius: 4px;
        transition: color .2s linear, background-color .2s linear, border .2s linear;
        &:hover{
          color: @color_blue;
          background-color: @color_white;
          border-color: @color_dd;
        }
      }
      .cardInput {
        width: 86%;
        margin: 30px auto;
        label {
          width: 14%;
          display: inline-block;
          font-size: 18px;
          text-align: center;
        }
        .control {
          width: 80%;
          display: inline-block;
          position: relative;
          input {
            display: inline-block;
            width: 100%;
            height: 32px;
            line-height: 1.5;
            padding: 4px 7px;
            font-size: 12px;
            border: 1px solid @color_d1;
            border-radius: 4px;
            color: @color_black;
            background-color: @color_white;
            background-image: none;
            position: relative;
            cursor: text;
            transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out;
          }
          .errSpan {
            color: @color_red;
            position: absolute;
          }
          .is-danger {
            border-color: @color_red;
          }
        }
      }
    }
  }
}
